package cn.tedu.zhyl;

import cn.tedu.zhyl.base.properties.IotProperties;
import cn.tedu.zhyl.base.properties.JwtProperties;
import cn.tedu.zhyl.base.properties.LoginAuthProperties;
import cn.tedu.zhyl.base.properties.MinioProperties;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.context.properties.EnableConfigurationProperties;

import org.springframework.cache.annotation.EnableCaching;
import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.transaction.annotation.EnableTransactionManagement;

@EnableTransactionManagement
@EnableScheduling
@SpringBootApplication
@EnableConfigurationProperties({LoginAuthProperties.class, MinioProperties.class, JwtProperties.class, IotProperties.class})
@EnableCaching
public class ZhylApplication {

    public static void main(String[] args) {
        SpringApplication.run(ZhylApplication.class, args);
    }

}




